package tracksuite.integration.customer;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import tracksuite.integration.GenericTO;

@Entity
@Table(name = "CUSTOMER")
public class CustomerTO extends GenericTO {

	private static final long serialVersionUID = -1527855676470157699L;

	@Column(name = "name") private String name;
	@Column(name = "description") private String description;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "Customer: " + getId() + ", " + getName();
	}
}
